package com.huanxing.cloud.product.api.feign;

import com.huanxing.cloud.common.core.constant.ServiceNameConstants;
import com.huanxing.cloud.common.core.util.Result;
import com.huanxing.cloud.product.api.entity.FreightTemplate;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteFreightTemplateService", value = ServiceNameConstants.PRODUCT_SERVICE)
public interface RemoteFreightTemplateService {

	@GetMapping("/app/freighttemplate/{id}")
	Result<FreightTemplate> getById(@PathVariable("id") String id);

}
